package com.quanyan.ic.vendingMachine.mapper;

import com.quanyan.ic.vendingMachine.mapper.entity.VmGridGoodsMappingEntity;
import com.quanyan.ic.vendingMachine.mapper.entity.VmGridGoodsMappingEntityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface VmGridGoodsMappingEntityMapper {
    long countByExample(VmGridGoodsMappingEntityExample example);

    int deleteByExample(VmGridGoodsMappingEntityExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(VmGridGoodsMappingEntity record);

    int insertSelective(VmGridGoodsMappingEntity record);

    List<VmGridGoodsMappingEntity> selectByExample(VmGridGoodsMappingEntityExample example);

    VmGridGoodsMappingEntity selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") VmGridGoodsMappingEntity record, @Param("example") VmGridGoodsMappingEntityExample example);

    int updateByExample(@Param("record") VmGridGoodsMappingEntity record, @Param("example") VmGridGoodsMappingEntityExample example);

    int updateByPrimaryKeySelective(VmGridGoodsMappingEntity record);

    int updateByPrimaryKey(VmGridGoodsMappingEntity record);
}